<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- 引入ESAYUI 的主题样式   -->
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/themes/bootstrap/easyui.css" />
<!--  ESAYUI 提供的图标样式 -->
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/themes/icon.css" />
<!-- 引入JQUERY 和  easyui.js   中文设置JS-->
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery-1.9.1.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/easyui-lang-zh_CN.js"></script>
</head>
<script type="text/javascript">
$(function(){
	$('#winxzcx').window({    
		title : '查询',
	    width:1000,    
	    height:400,    
	    closed:false,
		collapsible : false,//关闭折叠按钮
		closable : false,//关闭x按钮
		minimizable : false,//关闭x最小化
		maximizable:false//关闭最大化		   
	}); 
	
	$('#dg').datagrid({    
	    url:'xzcx',    
	    columns:[[    
	        {field:'ename',title:'姓名',width:100},    
	        {field:'dname',title:'部门',width:100},    
	        {field:'first',title:'应发薪资',width:100},
	        {field:'last',title:'实发薪资',width:100},
	        {field:'deduct',title:'当月工资扣款',width:100},    
	        {field:'date',title:'发放日期',width:100} 
	    ]],
		  rownumbers:true,
		    pagination:true,
		    pagePosition:'bottom',
		    pageSize:3,
		    pageList:[3,6,9],
	});  

	

	
})
</script>
<body>

<div id="winxzcx">
<table id="dg">

</table>  

</div>   




</body>
</html>